#!/bin/sh
cat << EOF
common {
	plugin_dir = /usr/local/lib/manticore
	lemmatizer_base = /usr/share/manticore/
}
searchd {
	listen = 127.0.0.1:${INSTANCE}306:mysql41
	listen = 127.0.0.1:${INSTANCE}312
	listen = 127.0.0.1:${INSTANCE}308:http
	log = /var/log/manticore-${INSTANCE}/searchd.log
	query_log = /var/log/manticore-${INSTANCE}/query.log
	pid_file = /var/log/manticore-${INSTANCE}/searchd.pid
	data_dir = /var/log/manticore-${INSTANCE}
	query_log_format = sphinxql
	query_log_commands = 1
	server_id = ${INSTANCE}
}

EOF
